package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealService {

    //添加套餐
    void add(Setmeal setmeal, Integer[] checkgroupIds);

    //分页查询
    PageResult pageQuery(QueryPageBean queryPageBean);

    //查询所有
    List<Setmeal> findAll();

    //根据id查询套餐
    Setmeal findById(int id);

    List<Map<String, Object>> findSetmealCount();
}
